Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing Vite 🚀 #408

Closed
wants to merge 50 commits into from
Closed

Introducing Vite 🚀 #408

wants to merge 50 commits into from

Conversation

josechirivella
Copy link
Contributor

@josechirivella josechirivella commented Aug 15, 2023

  • Moved from Webpack to Vite
  • Final build size reduced by 93%
  • Dev server gets spinned up in about 1 sec lol

Depends of

ci:vue-form-elements:vite
ci:modeler:vite
ci:screen-builder:vite
ci:vue-multiselect:FOUR-6840
ci:processmaker:vite-js-repos
.

josechirivella and others added 30 commits July 5, 2022 11:47
* Added library configurations to the vite.config.js
* Added serve options to the dev run config in package.json but TBD on this
* Currently targeting the index.js inside components but getting a warning since we are doing things in a weird way for importing and exporting components
* Removed the BASE_URL on index.html
* Removed the required validatorjs to an import
* importing vue-multiselect the correct way
* Added / to look for root folder as the src javascript file in the index.html
* indenting src/main.js
* Replacing moment-timezone with moment. Should be moment
* Using es6 import according to the docs (validatorjs)
* Using moment package instead of moment-timezone
* Updated references to the new package for validatorjs
*
# Conflicts:
#	package-lock.json
#	package.json
#	src/components/FormHtmlEditor.vue
#	src/components/FormSelectList.vue
#	src/components/FormTextArea.vue
# Conflicts:
#	src/components/mixins/validation.js
…the datepicker changes since Cypress on SB is failing
# Conflicts:
#	package-lock.json
#	package.json
#	src/DemoApp.vue
#	src/components/FormDatePicker.vue
#	src/components/FormTextArea.vue
* Replaced lodash with lodash-es
* Removed dependencies not used
* Switched npm with yarn
* Removed tinymce imports since they were not needed
* Reducing the size of the bundle by removing dependencies not needed
# Conflicts:
#	src/components/FormTextArea.vue
#	src/components/index.js
#	src/components/mixins/validation.js
#	src/main.js
Copy link

Quality Gate failed Quality Gate failed

Failed conditions

13 New Code Smells (required ≤ 0)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant